﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using cancerportal.Entitys;
using System.Web.Mvc;

namespace cancerportal.Controllers
{
    public class symptomController : Controller
    {
        public ActionResult Index()
        {
            return View(Models.symptomModels.getSymptom());
        }

        public JsonResult getSymptomByID(int symID)
        {
            return this.Json(Models.symptomModels.getSymptomByID(symID));
        }

        //public bool checkExistSymptom(string symp)
        //{
        //    return Models.symptomModels.checkExistSymptom(symp);
        //}
    }
}